{% extends 'base.html' %}

{% block title %}
    Images Ranking
{% endblock %}

{% block content %}
    <h1>Images Ranking</h1>
    <ol>
    {% for image in most_viewed %}
        <li>
            <a href="{{ image.get_absolute_url }}">{{ image.title }}</a>
        </li>
    {% endfor %}
    </ol>
{% endblock %}